#ifndef _PLL_H
#define _PLL_H

#define MPLL_OFF		(1 << 5)
#define SLOW		(1 << 4)
#define HCLK4_HALF	(1 << 9)
#define HCLK3_HALF	(1 << 8)
#define PDIVN		(1 << 0)
void TurnOnMpll(unsigned char bEnable);
void SlowEnable(unsigned char bEnable);
void ChangeMpll(unsigned int mdiv,unsigned int pdiv,unsigned int sdiv);
unsigned int GetMpllClk(void);
unsigned int GetFclk(void);
unsigned int GetHclk(void);
unsigned int GetPclk(void);
#endif